<script>
    export let record;
</script>

<img src="images{record.path}?id={record.id}&width=512&height=512" alt={record.name}/>